<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div style="display: none"><script id="orderExpressFileID" type="text/plain"></script></div>
<div class="pageContent">
	<form method="post" action="${rootUrl}/order/storage-order/0/updateExpress" class="pageForm required-validate" onsubmit="return validateCallback(this, saveCallBack);">
		<input type="hidden" name="goodsSpecValue.id" value="${goodsSpecValue.id }">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>上传文件：</label>
				<input name="filePath" id="srcPathId" type="hidden" size="30"/>
				<img id="urlPathId"/>
				<a class="btnLook" id="dataId_8" onclick="iFileUploader.upFile('urlPathId','srcPathId');"></a>
			</p>
			<p>
				<label>是否覆盖已有单号：</label>
				<input type="radio" name="isCover" value="1">是
				<input type="radio" name="isCover" value="0" checked="checked">否
			</p>

			<dl class="nowrap">
				<dt>导入详情：</dt>
				<dd>
					<textarea readonly="readonly" rows="35" cols="150" id="impresult"></textarea>
				</dd>
			</dl>
   		 </div>
    	<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button id="theSubmit" type="submit">上传</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
				</li>
			</ul>
		</div>
    </form>
    	
</div>

<script>
var imageFolder = 0;
iFileUploader.initFile("orderExpressFileID","urlPathId","srcPathId",{imageFolder:imageFolder});
function saveCallBack(json){
	DWZ.ajaxDone(json);
	$("#impresult").html(json.msg);
}
</script>